﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyMovieInfo
{
    class TMDBLookup: IMovieLookup
    {

        public Movie GetMovieDetails(string name, int? year, string file)
        {
            if (name.Equals("Movie About"))
            {
                return new Movie()
                {
                    Name = name ,
                    Year = year,
                    Synopsis = "Monkey movie synopsis. Lorem Ipsum somethin somethin blah blah blah.",
                    MatchFound = true,
                    CoverURL = "C:\\temp\\somepic.jpg",
                    Source = "TMDB"
                };
            }
            else
            {
                return new Movie()
                {
                    Name = name,
                    Year = year,
                    Synopsis = null,
                    MatchFound = false,
                    CoverURL = null
                };
            }
        }
    }
}
